home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
santas_deed.swf
/
scripts
/
DefineSprite_450
/
frame_3
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
12KB
|
324 lines
var §\x01§ = 573;
loop0:
while(true)
{
if(eval("\x01") == 573)
{
set("\x01",eval("\x01") - 32);
§§push(true);
continue;
}
if(eval("\x01") == 522)
{
set("\x01",eval("\x01") - 49);
if(§§pop())
{
set("\x01",eval("\x01") - 110);
}
continue;
}
if(eval("\x01") == 363)
{
set("\x01",eval("\x01") - 245);
§§push(true);
continue;
}
if(eval("\x01") == 541)
{
set("\x01",eval("\x01") - 424);
if(§§pop())
{
set("\x01",eval("\x01") + 649);
}
continue;
}
if(eval("\x01") == 268)
{
set("\x01",eval("\x01") + 427);
§§push(true);
continue;
}
if(eval("\x01") == 117)
{
set("\x01",eval("\x01") + 649);
break;
}
if(eval("\x01") == 642)
{
set("\x01",eval("\x01") - 374);
break;
}
if(eval("\x01") == 387)
{
set("\x01",eval("\x01") + 485);
§§push(true);
continue;
}
if(eval("\x01") == 473)
{
set("\x01",eval("\x01") - 110);
toggleHighQuality();
stopAllSounds();
var _loc3_ = §§pop()[§§pop()][§§constant(5)]();
_loc3_[§§constant(6)] = _loc4_[§§constant(6)] + eval(§§constant(14));
_loc3_[§§constant(7)] = _loc2_[§§constant(7)];
var _loc5_ = _loc1_[§§constant(9)][§§constant(5)](§§constant(13),§§constant(16),_loc1_[§§constant(9)][§§constant(2)]());
_loc5_[§§constant(6)] = _loc3_[§§constant(6)] + eval(§§constant(14));
_loc5_[§§constant(7)] = _loc2_[§§constant(7)];
var _loc6_ = _loc1_[§§constant(17)][§§constant(5)](§§constant(19),§§constant(18),_loc1_[§§constant(17)][§§constant(2)]());
_loc6_[§§constant(6)] = 1080;
_loc6_[§§constant(7)] = 360;
var _loc7_ = _loc1_[§§constant(20)][§§constant(5)](§§constant(22),§§constant(21),_loc1_[§§constant(20)][§§constant(2)]());
_loc7_[§§constant(6)] = 1549;
_loc7_[§§constant(7)] = 365;
var _loc8_ = _loc1_[§§constant(23)][§§constant(5)](§§constant(25),§§constant(24),_loc1_[§§constant(23)][§§constant(2)]());
_loc8_[§§constant(6)] = 1760;
_loc8_[§§constant(7)] = 180;
eval(§§constant(26))[§§constant(27)] = eval(§§constant(28));
var §§constant(14) = 250;
var §§constant(29) = 3 + (-1 + eval(§§constant(26))[§§constant(30)][§§constant(31)]);
var §§constant(32) = 20;
var §§constant(33) = 20;
var §§constant(34) = 0;
var §§constant(35) = 0;
var §§constant(36) = 0;
var §§constant(37) = [];
var §§constant(38) = 5;
var §§constant(39) = 5 + (-1 + eval(§§constant(26))[§§constant(30)][§§constant(31)]);
var §§constant(40) = 5 + (-1 + eval(§§constant(26))[§§constant(30)][§§constant(31)]);
var §§constant(41) = true;
eval(§§constant(26))[§§constant(42)][§§constant(43)]();
eval(§§constant(37))[§§constant(44)](1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);
eval(§§constant(28))[§§constant(45)] = function()
{
if(_global[§§constant(46)][§§constant(47)])
{
return undefined;
}
if(getProperty(§§constant(48), _ymouse) > 80 && getProperty(§§constant(48), _ymouse) < 240)
{
eval(§§constant(49))[§§constant(7)] = getProperty(§§constant(48), _ymouse);
}
if(getProperty(§§constant(48), _xmouse) > 100 && getProperty(§§constant(48), _xmouse) < 500)
{
var _loc2_ = getProperty(§§constant(48), _xmouse) - eval(§§constant(49))[§§constant(6)];
if(_loc2_ > 30 || _loc2_ < -30)
{
if(_loc2_ < 0)
{
eval(§§constant(49))[§§constant(6)] = getProperty(§§constant(48), _xmouse) + 10;
}
else
{
eval(§§constant(49))[§§constant(6)] = getProperty(§§constant(48), _xmouse) - 10;
}
}
}
};
break;
}
if(eval("\x01") == 118)
{
set("\x01",eval("\x01") + 781);
if(§§pop())
{
set("\x01",eval("\x01") - 512);
}
continue;
}
if(eval("\x01") == 695)
{
set("\x01",eval("\x01") + 297);
if(§§pop())
{
set("\x01",eval("\x01") - 991);
}
continue;
}
if(eval("\x01") != 992)
{
if(eval("\x01") != 872)
{
if(eval("\x01") == 766)
{
set("\x01",eval("\x01") - 244);
§§push(true);
continue;
}
if(eval("\x01") == 638)
{
set("\x01",eval("\x01") - 299);
if(§§pop())
{
set("\x01",eval("\x01") + 503);
}
continue;
}
if(eval("\x01") != 39)
{
if(eval("\x01") != 388)
{
if(eval("\x01") == 339)
{
set("\x01",eval("\x01") + 503);
break;
}
if(eval("\x01") == 253)
{
set("\x01",eval("\x01") - 214);
break;
}
if(eval("\x01") == 899)
{
set("\x01",eval("\x01") - 512);
break;
}
if(eval("\x01") == 949)
{
set("\x01",eval("\x01") - 307);
if(§§pop())
{
set("\x01",eval("\x01") - 374);
}
continue;
}
if(eval("\x01") != 1)
{
if(eval("\x01") != 338)
{
if(eval("\x01") == 215)
{
set("\x01",eval("\x01") + 173);
break;
}
if(eval("\x01") == 842)
{
set("\x01",eval("\x01") - 416);
stop();
addMCS();
break;
}
}
set("\x01",eval("\x01") - 123);
if(§§pop())
{
set("\x01",eval("\x01") + 173);
}
}
set("\x01",eval("\x01") + 337);
}
set("\x01",eval("\x01") + 250);
§§push(true);
continue;
§§push(true);
}
set("\x01",eval("\x01") + 910);
§§push(true);
}
set("\x01",eval("\x01") - 619);
if(§§pop())
{
set("\x01",eval("\x01") - 214);
}
continue;
continue;
continue;
continue;
break;
}
set("\x01",eval("\x01") - 991);
while(true)
{
if(eval(§§constant(74)) >= eval(§§constant(75)) && eval(§§constant(75)) > 0)
{
eval(§§constant(68))[_loc10_][§§constant(12)] = 600 + eval(§§constant(68))[_loc10_][§§constant(16)];
eval(§§constant(68))[_loc10_][§§constant(14)] = _loc1_[§§constant(13)][§§constant(14)];
eval(§§constant(68))[_loc10_][§§constant(67)]();
set(§§constant(70),eval(§§constant(70)) + 1);
set(§§constant(74),1);
}
else
{
set(§§constant(74),eval(§§constant(74)) + 1);
}
while(true)
{
var _loc0_ = null;
if((_loc0_ = §§pop()) == null)
{
stop();
eval(§§constant(76))[§§constant(77)] = eval(§§constant(78));
var §§constant(28) = [];
var §§constant(6) = 0;
var §§constant(22) = 0;
var §§constant(25) = 0;
var §§constant(44) = [];
var §§constant(45) = [];
var §§constant(39) = [];
var §§constant(32) = 210;
var §§constant(34) = 330;
var §§constant(47) = 1;
var §§constant(56) = [];
var §§constant(41) = [];
var §§constant(58) = 1;
var §§constant(55) = [];
}
var _loc10_ = _loc0_;
eval(§§constant(68))[_loc10_][§§constant(12)] -= eval(§§constant(68))[_loc10_][§§constant(59)];
if(eval(§§constant(68))[_loc10_][§§constant(12)] > - eval(§§constant(68))[_loc10_][§§constant(42)])
{
if(!eval(§§constant(68))[_loc10_][§§constant(71)])
{
if(eval(§§constant(68))[_loc10_][§§constant(12)] < 600)
{
_loc6_ = eval(§§constant(68))[_loc10_][§§constant(12)] - eval(§§constant(68))[_loc10_][§§constant(16)];
var _loc4_ = eval(§§constant(68))[_loc10_][§§constant(12)] + eval(§§constant(68))[_loc10_][§§constant(16)];
var _loc2_ = _loc1_[§§constant(13)][§§constant(12)] - _loc1_[§§constant(13)][§§constant(16)];
_loc8_ = _loc1_[§§constant(13)][§§constant(12)] + _loc1_[§§constant(13)][§§constant(16)];
_loc5_ = eval(§§constant(68))[_loc10_][§§constant(14)] - eval(§§constant(68))[_loc10_][§§constant(72)];
_loc3_ = eval(§§constant(68))[_loc10_][§§constant(14)] + eval(§§constant(68))[_loc10_][§§constant(72)];
var _loc9_ = _loc1_[§§constant(13)][§§constant(14)] - _loc1_[§§constant(13)][§§constant(72)];
_loc7_ = _loc1_[§§constant(13)][§§constant(14)] + _loc1_[§§constant(13)][§§constant(72)];
if(_loc6_ >= _loc2_ && _loc6_ <= _loc8_ || _loc4_ >= _loc2_ && _loc4_ <= _loc8_)
{
if(_loc5_ >= _loc9_ && _loc5_ <= _loc7_ || _loc3_ >= _loc9_ && _loc3_ <= _loc7_)
{
eval(§§constant(68))[_loc10_][§§constant(73)]();
_loc1_[§§constant(13)][§§constant(73)]();
}
}
}
}
}
else if(eval(§§constant(70)) <= _loc1_[§§constant(19)][§§constant(69)])
{
break;
}
continue;
var §§constant(64) = 1;
var §§constant(43) = [];
var §§constant(68) = [];
var §§constant(70) = 1;
var §§constant(61) = 0;
if(eval(§§constant(76))[§§constant(19)][§§constant(57)] > 0)
{
set(§§constant(61),eval(§§constant(76))[§§constant(19)][§§constant(54)] * ((eval(§§constant(76))[§§constant(19)][§§constant(50)] + eval(§§constant(76))[§§constant(19)][§§constant(63)]) / 2) / (eval(§§constant(76))[§§constant(19)][§§constant(57)] * eval(§§constant(76))[§§constant(19)][§§constant(20)]));
}
var §§constant(60) = 1;
var §§constant(66) = 0;
if(eval(§§constant(76))[§§constant(19)][§§constant(63)] > 0)
{
set(§§constant(66),eval(§§constant(76))[§§constant(19)][§§constant(54)] * ((eval(§§constant(76))[§§constant(19)][§§constant(50)] + eval(§§constant(76))[§§constant(19)][§§constant(57)]) / 2) / (eval(§§constant(76))[§§constant(19)][§§constant(63)] * eval(§§constant(76))[§§constant(19)][§§constant(20)]));
}
var §§constant(65) = 1;
var §§constant(75) = 0;
if(eval(§§constant(76))[§§constant(19)][§§constant(69)] > 0)
{
set(§§constant(75),eval(§§constant(76))[§§constant(19)][§§constant(54)] * ((eval(§§constant(76))[§§constant(19)][§§constant(50)] + eval(§§constant(76))[§§constant(19)][§§constant(57)] + eval(§§constant(76))[§§constant(19)][§§constant(63)]) / 2) / (eval(§§constant(76))[§§constant(19)][§§constant(69)] * eval(§§constant(76))[§§constant(19)][§§constant(20)]));
}
var §§constant(74) = 1;
break loop0;
}
}
}